-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
3.0.0
-
Code
-
Classes
- OrdersController
Total Complexity |
70 |
Dependencies |
11 |
Dependents |
1 |
Total lines |
666 |
Lines of code |
452 |
Logical lines of code |
199 |
Comment lines |
121 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_orders() |
B |
33 |
16 |
97 |
create_square_order() |
A |
41 |
11 |
52 |
getOrderFulfillments() |
A |
42 |
6 |
54 |
prepareSquareOrderData() |
S |
46 |
4 |
39 |
getCommonProductTaxRate() |
S |
61 |
5 |
11 |
addFeeLineItems() |
S |
55 |
4 |
19 |
getOrderLineItems() |
S |
50 |
3 |
28 |
formatNewCustomerData() |
S |
50 |
3 |
28 |
getProductTaxRate() |
S |
67 |
4 |
7 |
getOrCreateSquareCustomer() |
S |
58 |
3 |
15 |
payForOrder() |
S |
54 |
2 |
19 |
calculateTotalOrderTaxDetails() |
S |
56 |
2 |
17 |
addShippingLineItem() |
S |
58 |
2 |
16 |
getOrderDiscounts() |
S |
59 |
2 |
15 |
register_routes() |
S |
58 |
1 |
18 |
mapOrderStatus() |
S |
62 |
1 |
12 |
createOrderInSquare() |
S |
72 |
1 |
5 |